package edu.uow.devdocs
/**
 * The ProjectType entity.
 *
 * @author    
 *
 *
 */
class ProjectType {
    static mapping = {
         table 'SUB_SYSTEM_TYPE'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id column:'SUB_SYSTEM_TYPE_ID'
	 	 id generator: 'sequence', params:[sequence:'SUB_SYSTEM_TYPE__SEQ']
		 sort projectType:'asc'
		 cache usage: 'read-only'
    }
    String projectType

    static constraints = {
        projectType(size: 0..30)
    }
    String toString() {
        return "${projectType}" 
    }
}
